<!--#
 @version 0.2 (auto-set)
#-->
&nbsp;

[#if MODE="repository_uninstall"#]
<br><br>
<iframe src="http://installer<#REP_EXT#>/installer.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>&mode=uninstall&module=[#MODULE#]" width=600 height=300 align=center></iframe>
<p align=center>
<a href="?">Back</a>
</p>
[#endif MODE#]

[#if MODE="wizard"#]
<br><br>
<iframe src="http://installer<#REP_EXT#>/index.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>" width=100% height=470 align=center></iframe>
[#endif MODE#]

[#if MODE="updatelib"#]
<br><br>
<iframe src="http://installer<#REP_EXT#>/updatelib.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>&mode=update" width=100% height=470 align=center></iframe>
[#endif MODE#]

[#if MODE="makedoc"#]
<br><br>
<iframe src="http://installer<#REP_EXT#>/makedoc.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>&mode=update" width=100% height=470 align=center></iframe>
[#endif MODE#]


[#if MODE="repository"#]
<br><br>
<iframe src="http://installer<#REP_EXT#>/installer.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>" width=100% height=450 align=center></iframe>
<p align=center>
<a href="?">&lt;&lt;&lt; <#LANG_BACK#></a>
</p>
[#endif MODE#]

[#if MODE="edit"#]
<table width=70% border=1 align=center>
 <tr>
  <td align=center colspan=2>
   <b>[#if TITLE!=""#][#TITLE#][#else TITLE#][#NAME#][#endif TITLE#]</b>
  </td>
 </tr>
 [#if TITLE!=""#]
 <form action="?" method="post" name="frmModule">
 <tr>
  <td>
  <#LANG_TITLE#>:
  </td>
  <td>
  <input type="text" name="title" value="[#TITLE#]">
  </td>
 </tr>
 <tr>
  <td>
  Category:
  </td>
  <td>
  <input type="text" name="category" value="[#CATEGORY#]">
  </td>
 </tr>
 <input type="hidden" name="mode" value="[#MODE#]">
 <input type="hidden" name="mode2" value="update">
 <input type="hidden" name="name" value="[#NAME#]">
 </form>
 [#endif TITLE#]
 <tr>
  <td align=center colspan=2>
   [#if TITLE!=""#]
   <a href="javascript:document.frmModule.submit()">Submit changes</a>
   |
   <a href="?mode=<#MODE#>&mode2=install&name=[#NAME#]" onClick="return confirm('Module settings could will be lost. Continue with reinstall?')">Reinstall module</a>
   |
   <a href="?mode=<#MODE#>&mode2=uninstall&name=[#NAME#]" onClick="return confirm('Continue with uninstall?')">Uninstall module</a>
   |
   [#else TITLE#]
   <a href="?mode=<#MODE#>&mode2=install&name=[#NAME#]">Install Module</a>
   |
   [#endif TITLE#]
   <a href="?"><#LANG_CANCEL#></a>
  </td>
 </tr>
</table>
[#endif MODE#]

[#if MODE=""#]

[#if LOCAL_PROJECT#]
<table border=0 align=center width=90%><tr><td width=50% valign=top>
<b>* <a href="?mode=repository">Install additional modules from repository</a>
<br>
&nbsp;
(<a href="http://installer<#REP_EXT#>/installer.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>" target=_blank>new window</a>)
</b>
<br>&nbsp;<br>
<b>* <a href="?mode=wizard">Use wizard to build new module</a> 
<br>
&nbsp;
(<a href="http://installer<#REP_EXT#>/index.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>" target=_blank>new window</a>)</b>
</td>
<td width=50% valign=top>
<b>* <a href="?mode=updatelib" onClick='return confirm("Warning: all changes to current library files will be lost!\n(Only standard library files will be overwritten)")'>Update library files</a>
<br>
&nbsp;
(<a href="http://installer<#REP_EXT#>/updatelib.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>&mode=update"  onClick='return confirm("Warning: all changes to current library files will be lost!\n(Only standard library files will be overwritten)")' target=_blank>new window</a>)
</b>
<br>&nbsp;<br>
<b>* <a href="?mode=makedoc" onClick='return confirm("Warning: it could take a lot of time to complete doc building.")'>Create modules development doc</a>
<br>
&nbsp;
(<a href="http://installer<#REP_EXT#>/makedoc.php?host=<#HOST#>&doc_root=<#DOCUMENT_ROOT#>&mode=update" onClick='return confirm("Warning: it could take a lot of time to complete doc building.")' target=_blank>new window</a>)
(<a href="<#ROOTHTML#>phpdoc/" target=_blank>open</a>)</b>
</tr></td></table>
&nbsp;
[#endif#]

<table border=1 cellpadding=3 align=center width=90%>
<tr>
 <td align=center><b>File</td>
 <td align=center><b>Title</td>
 <td align=center><b>Category</td>
 <td align=center><b>Installed</td>
 [#if LOCAL_PROJECT#] 
 <td>&nbsp;</td>
 [#endif LOCAL_PROJECT#]
 <td>&nbsp;</td>
</tr>
[#begin MODULES#]
[#if (FILENAME!="control_access") && (FILENAME!="control_modules")#]
<tr>
 <td align=center><b><a href="?action=<#ACTION#>&mode=edit&name=[#FILENAME#]">[#FILENAME#]</a></b>
 </td>
 <td>[#TITLE#]
 [#if "<#LOCAL_PROJECT#>"=="1"#]
 [<a href="http://au.local/wiki/index.php/Doc/mdl[#FILENAME#]" target=_blank>details</a>]
 [#endif#]

 </td>
 <td align=center>[#if CATEGORY!=""#][#CATEGORY#][#else CATEGORY#]Unfiled[#endif CATEGORY#]</td>
 <td align=center>[#if DAT!=""#][#DAT#][#else DAT#]not installed[#endif DAT#]</td>

 [#if "<#LOCAL_PROJECT#>"=="1"#]
 
 <td align=center>
 [#if TITLE!=""#]   
 <a href="?mode=edit&mode2=uninstall&name=[#FILENAME#]" onClick="return confirm('Continue with uninstall?')">Uninstall</a>
 [#else#]
 <a href="?mode=edit&mode2=install&name=[#FILENAME#]">Install</a>
 [#endif#]
 &nbsp;
 </td>
 [#endif LOCAL_PROJECT#]
 <td valign="top" align="center"><a href="?mode=edit&mode2=show&name=[#FILENAME#]">[#if HIDDEN="1"#]<font color='red'>Show</font>[#else#]Hide[#endif#]</a></td>
</tr>
[#endif#]
[#end MODULES#]
</table>


[#endif MODE#]